SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 52691: PROC POWER fails to detect an invalid survival curve and produces incorrect results

DetailsAboutRate It

If you use the CURVE= option and the GROUPSURVIVAL= option in the TWOSAMPLESURVIVAL statement in PROC POWER to specify a piecewise linear survival curve, then the survival rates must be strictly decreasing. However, PROC POWER fails to detect an invalid curve that is flat between any time intervals, and incorrect results are produced.

To circumvent the problem, modify one or more of the survival rates so that the curve is strictly decreasing.

For example, suppose the following control curve is specified:

   CURVE("Control") = (2 4 6 8 12 24):(1.00 0.92 0.69 0.62 0.46 0.18)

Since the survival rate in all survival curves is assumed to be 1 at time 0, this curve has a flat portion because the survival rate is also 1 in the first (time, survival) pair. To correct the problem in this case, replace the survival rate of 1 with a smaller value that is close to 1, such as 0.999.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemSAS/STATz/OS9.4 TS1M0
Z649.4 TS1M0
OpenVMS VAX9.4 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition
Microsoft Windows XP 64-bit Edition
Microsoft® Windows® for x649.4 TS1M0
OS/2
Microsoft Windows 8 Enterprise 32-bit
Microsoft Windows 8 Enterprise x649.4 TS1M0
Microsoft Windows 8 Pro 32-bit
Microsoft Windows 8 Pro x649.4 TS1M0
Microsoft Windows 8.1 Enterprise 32-bit9.4 TS1M0
Microsoft Windows 8.1 Enterprise x649.4 TS1M0
Microsoft Windows 8.1 Pro9.4 TS1M0
Microsoft Windows 8.1 Pro 32-bit9.4 TS1M0
Microsoft Windows 95/98
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Datacenter Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Professional
Microsoft Windows NT Workstation
Microsoft Windows Server 2003 Datacenter Edition
Microsoft Windows Server 2008
Microsoft Windows Server 2012 Datacenter9.4 TS1M0
Microsoft Windows Server 2012 R2 Datacenter9.4 TS1M0
Microsoft Windows Server 2008 for x649.4 TS1M0
Microsoft Windows Server 2008 R29.4 TS1M0
Microsoft Windows Server 2003 for x64
Microsoft Windows Server 2003 Enterprise Edition
Microsoft Windows Server 2003 Standard Edition
Microsoft Windows Server 2003 Datacenter 64-bit Edition
Microsoft® Windows® for 64-Bit Itanium-based Systems
Microsoft Windows Server 2012 R2 Std9.4 TS1M0
Microsoft Windows Server 2012 Std9.4 TS1M0
Microsoft Windows XP Professional
Windows 7 Enterprise 32 bit
Windows 7 Enterprise x649.4 TS1M0
Windows 7 Home Premium 32 bit
Windows 7 Home Premium x64
Windows 7 Professional 32 bit
Windows 7 Professional x649.4 TS1M0
Windows 7 Ultimate 32 bit
Windows 7 Ultimate x64
Windows Millennium Edition (Me)
Windows Vista
Windows Vista for x64
64-bit Enabled AIX9.4 TS1M0
64-bit Enabled HP-UX9.4 TS1M0
64-bit Enabled Solaris9.4 TS1M0
ABI+ for Intel Architecture9.4 TS1M0
AIX9.4 TS1M0
HP-UX9.4 TS1M0
HP-UX IPF9.4 TS1M0
IRIX9.4 TS1M0
Linux9.4 TS1M0
Linux for x649.4 TS1M0
Linux on Itanium9.4 TS1M0
OpenVMS Alpha9.4 TS1M0
OpenVMS on HP Integrity9.4 TS1M0
Solaris9.4 TS1M0
Solaris for x649.4 TS1M0
Tru64 UNIX9.4 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.